package io.github.yotta.common.api.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author yotta
 * @date 2022/11/7 20:21
 */
@AllArgsConstructor
@Getter
public enum BaseErrorCode implements ErrorCode {
    TENANT_ID_IS_NULL("tenantId.is.null","缺少租户id"),
    PAGE_PARAM_IS_INVALID("page.param.is.invalid","分页参数不合法"),
    PARAM_IS_INVALID("param.is.invalid","参数不合法"),
    ID_IS_NULL("id.is.null","id为空"),
    ;

    private final String code;

    private final String message;


}
